package com.tian.entity;

import java.io.Serializable;
import java.util.Date;

public class Station implements Serializable {
    private Long id;

    private Long longitude;

    private Long dimensionality;

    private String stationName;

    private String stationDetails;

    private String province;

    private String city;

    private String county;

    private String address;

    private Integer price;

    private Date openStartTime;

    private Date openEndTime;

    private String bannerImg;

    private Integer delete;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLongitude() {
        return longitude;
    }

    public void setLongitude(Long longitude) {
        this.longitude = longitude;
    }

    public Long getDimensionality() {
        return dimensionality;
    }

    public void setDimensionality(Long dimensionality) {
        this.dimensionality = dimensionality;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public String getStationDetails() {
        return stationDetails;
    }

    public void setStationDetails(String stationDetails) {
        this.stationDetails = stationDetails == null ? null : stationDetails.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Date getOpenStartTime() {
        return openStartTime;
    }

    public void setOpenStartTime(Date openStartTime) {
        this.openStartTime = openStartTime;
    }

    public Date getOpenEndTime() {
        return openEndTime;
    }

    public void setOpenEndTime(Date openEndTime) {
        this.openEndTime = openEndTime;
    }

    public String getBannerImg() {
        return bannerImg;
    }

    public void setBannerImg(String bannerImg) {
        this.bannerImg = bannerImg == null ? null : bannerImg.trim();
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", longitude=").append(longitude);
        sb.append(", dimensionality=").append(dimensionality);
        sb.append(", stationName=").append(stationName);
        sb.append(", stationDetails=").append(stationDetails);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", county=").append(county);
        sb.append(", address=").append(address);
        sb.append(", price=").append(price);
        sb.append(", openStartTime=").append(openStartTime);
        sb.append(", openEndTime=").append(openEndTime);
        sb.append(", bannerImg=").append(bannerImg);
        sb.append(", delete=").append(delete);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}